package com.joeyzh.iframe.db.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Transient;

import java.util.List;

/**
 * Created by Joey on 2018/12/24.
 *
 * @author by Joey
 */
@Entity
public class MenuGroupEntity {

    @Id
    private String Id;
    private String Name;
    private String Icon;

    @Transient
    List<MenuItemEntity> MenuList;

    @Generated(hash = 1528221826)
    public MenuGroupEntity(String Id, String Name, String Icon) {
        this.Id = Id;
        this.Name = Name;
        this.Icon = Icon;
    }

    @Generated(hash = 1017087229)
    public MenuGroupEntity() {
    }

    public String getId() {
        return this.Id;
    }

    public void setId(String Id) {
        this.Id = Id;
    }

    public String getName() {
        return this.Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public List<MenuItemEntity> getMenuList() {
        return MenuList;
    }

    public void setMenuList(List<MenuItemEntity> menuList) {
        MenuList = menuList;
    }

    public String getIcon() {
        return this.Icon;
    }

    public void setIcon(String Icon) {
        this.Icon = Icon;
    }
}
